package com.bdqn.ch05.SL;

/**
 * HelloSpring
 * 第一个Spring程序，输出“反转的人生，如此惊艳！”
 * @aurhor Administrator  whs
 * @since 2024/7/10
 */
public class HelloSpring {

    // 定义hello属性 该属性的值将通过Spring框架进行设置
    private String hello = null;

    public void print(){
        System.out.println("Spring say :," + this.getHello()+"!");
    }

    public String getHello(){
        return hello;
    }

    public void setHello(String hello){
        this.hello = hello;
    }

}
